﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;


namespace CinemaGUI
{
    public partial class Form1 : Form
    {
        static MovieCTRService.MovieServiceClient msc = new MovieCTRService.MovieServiceClient();
        public Form1()
        {
            InitializeComponent();
            msc.AddMovie("Die Hard", "Action", "140 mins", "Super fed film!", 80);

            CinemaGUI.MovieCTRService.Movie m = msc.getMovies()[0];
            richTextBox1.AppendText(m.Title);
        }

        private void richTextBox1_TextChanged(object sender, EventArgs e)
        {
        }
    }
}
